package com.zzyl.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

@Data
@Configuration  //声明为配置类，并且加入到spring容器中
@ConfigurationProperties("zzyl.framework.jwt")
public class JwtTokenManagerProperties implements Serializable {

    private String base64EncodedSecretkey;

    private Integer ttl;
}